package com.indsvr.controller;

import com.indsvr.entity.response.IndSvrRoot;
import com.indsvr.entity.request.RequestEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class Test {
    @ResponseBody
    @RequestMapping("/test")
    public IndSvrRoot test(@RequestBody RequestEntity newTaskEntity) throws Exception {
        return IndSvrRoot.ok("0");
    }

}
